<?php
session_start();
include('connexion.php');



if (isset($_POST['supprimer'])) {

	$query = "DELETE * FROM location WHERE location_id = ".$_POST['location_id']."";
	$res = mysqli_fetch_array($connexion, $query);
	
	header("location:index.php");
}else{
	echo "Erreur";
}

	


?>